[INFO] cloning repository https://github.com/realityone/akarin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/realityone/akarin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealityone%2Fakarin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealityone%2Fakarin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6734d9b14288800ee23415a6a900fe115c803960
[INFO] checking realityone/akarin against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frealityone%2Fakarin" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/realityone/akarin on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/realityone/akarin
[INFO] finished tweaking git repo https://github.com/realityone/akarin
[INFO] tweaked toml for git repo https://github.com/realityone/akarin written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/realityone/akarin already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded transient-hashmap v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 144b2fa300d24d7f6c7e21d4236f20cf19aef2bfa6c38cf8c39b4b130cd6e828
[INFO] running `Command { std: "docker" "start" "-a" "144b2fa300d24d7f6c7e21d4236f20cf19aef2bfa6c38cf8c39b4b130cd6e828", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "144b2fa300d24d7f6c7e21d4236f20cf19aef2bfa6c38cf8c39b4b130cd6e828", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "144b2fa300d24d7f6c7e21d4236f20cf19aef2bfa6c38cf8c39b4b130cd6e828", kill_on_drop: false }`
[INFO] [stdout] 144b2fa300d24d7f6c7e21d4236f20cf19aef2bfa6c38cf8c39b4b130cd6e828
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d387d43511b41b4467e9bf6dfc7aa9cde2ec1d17cc4846d951e8142c2f50b7da
[INFO] running `Command { std: "docker" "start" "-a" "d387d43511b41b4467e9bf6dfc7aa9cde2ec1d17cc4846d951e8142c2f50b7da", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.32
[INFO] [stderr]    Compiling rayon-core v1.2.1
[INFO] [stderr]    Compiling either v1.2.0
[INFO] [stderr]    Compiling scopeguard v0.3.2
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]    Compiling lazy_static v0.2.9
[INFO] [stderr]    Compiling cc v1.0.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling futures v0.1.16
[INFO] [stderr]     Checking log v0.3.8
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]     Checking regex-syntax v0.4.1
[INFO] [stderr]     Checking utf8-ranges v1.0.0
[INFO] [stderr]     Checking byteorder v1.1.0
[INFO] [stderr]     Checking lazycell v0.5.1
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking rustc-demangle v0.1.5
[INFO] [stderr]    Compiling coco v0.1.1
[INFO] [stderr]     Checking thread_local v0.3.4
[INFO] [stderr]     Checking ansi_term v0.9.0
[INFO] [stderr]     Checking untrusted v0.5.1
[INFO] [stderr]     Checking scoped-tls v0.1.0
[INFO] [stderr]     Checking slab v0.4.0
[INFO] [stderr]     Checking ioctl-sys v0.5.2
[INFO] [stderr]    Compiling num_cpus v1.7.0
[INFO] [stderr]    Compiling rand v0.3.17
[INFO] [stderr]     Checking memchr v1.0.1
[INFO] [stderr]     Checking iovec v0.1.1
[INFO] [stderr]     Checking net2 v0.2.31
[INFO] [stderr]     Checking time v0.1.38
[INFO] [stderr]     Checking aho-corasick v0.6.3
[INFO] [stderr]     Checking bytes v0.4.5
[INFO] [stderr]     Checking mio v0.6.10
[INFO] [stderr]     Checking transient-hashmap v0.4.0
[INFO] [stderr]     Checking regex v0.2.2
[INFO] [stderr]    Compiling backtrace-sys v0.1.14
[INFO] [stderr]     Checking tokio-io v0.1.3
[INFO] [stderr]     Checking tokio-core v0.1.10
[INFO] [stderr]     Checking env_logger v0.4.3
[INFO] [stderr]    Compiling rayon v0.8.2
[INFO] [stderr]     Checking pretty_env_logger v0.1.1
[INFO] [stderr]    Compiling ring v0.12.1
[INFO] [stderr]     Checking backtrace v0.3.3
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]     Checking akarin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem`
[INFO] [stdout]  --> src/akarin/server.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt, io, mem};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/akarin/mod.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn serve(self, mut core: Core, handle: Handle) -> Result<()>;
[INFO] [stdout]    |                    ^^^^^^^^ help: remove `mut` from the parameter: `core`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout]    = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/akarin/mod.rs:30:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn connect(self, mut core: Core, handle: Handle) -> Result<()>;
[INFO] [stdout]    |                      ^^^^^^^^ help: remove `mut` from the parameter: `core`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `common::error::*`
[INFO] [stdout]  --> src/transport/network.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use common::error::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem`
[INFO] [stdout]  --> src/akarin/server.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt, io, mem};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/akarin/mod.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn serve(self, mut core: Core, handle: Handle) -> Result<()>;
[INFO] [stdout]    |                    ^^^^^^^^ help: remove `mut` from the parameter: `core`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout]    = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/akarin/mod.rs:30:22
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn connect(self, mut core: Core, handle: Handle) -> Result<()>;
[INFO] [stdout]    |                      ^^^^^^^^ help: remove `mut` from the parameter: `core`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `common::error::*`
[INFO] [stdout]  --> src/transport/network.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use common::error::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/common/error.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     errors {
[INFO] [stdout] 3  | |         // Tun
[INFO] [stdout] 4  | |         TunNameTooLong
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |     }
[INFO] [stdout] 27 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/transport/network.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | / lazy_static!{
[INFO] [stdout] 9  | |    pub static ref IPV4_HEADER_LEN: usize = mem::size_of::<IPv4Header>();
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/transport/network.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | / lazy_static!{
[INFO] [stdout] 9  | |    pub static ref IPV4_HEADER_LEN: usize = mem::size_of::<IPv4Header>();
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/akarin/server.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     crypto: &'a Crypto,
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     crypto: &'a dyn Crypto,
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/akarin/client.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     crypto: &'a Crypto,
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     crypto: &'a dyn Crypto,
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/akarin/server.rs:124:41
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fn new<'b>(tun: Device, crypto: &'a Crypto, udp: UdpSocket, configuration: &'b ServerConfiguration) -> Self {
[INFO] [stdout]     |                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fn new<'b>(tun: Device, crypto: &'a dyn Crypto, udp: UdpSocket, configuration: &'b ServerConfiguration) -> Self {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/akarin/client.rs:24:41
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn new<'d>(tun: Device, crypto: &'a Crypto, udp: UdpSocket, configuration: &'d ClientConfiguration) -> Self {
[INFO] [stdout]    |                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn new<'d>(tun: Device, crypto: &'a dyn Crypto, udp: UdpSocket, configuration: &'d ClientConfiguration) -> Self {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/crypto/mod.rs:21:46
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn init(self, password: &str) -> Box<Crypto> {
[INFO] [stdout]    |                                              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn init(self, password: &str) -> Box<dyn Crypto> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/crypto/chacha20_poly1305.rs:9:43
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn init_crypto(password: &str) -> Box<Crypto> {
[INFO] [stdout]   |                                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn init_crypto(password: &str) -> Box<dyn Crypto> {
[INFO] [stdout]   |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/common/error.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     errors {
[INFO] [stdout] 3  | |         // Tun
[INFO] [stdout] 4  | |         TunNameTooLong
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |     }
[INFO] [stdout] 27 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/transport/network.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | / lazy_static!{
[INFO] [stdout] 9  | |    pub static ref IPV4_HEADER_LEN: usize = mem::size_of::<IPv4Header>();
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/transport/network.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | / lazy_static!{
[INFO] [stdout] 9  | |    pub static ref IPV4_HEADER_LEN: usize = mem::size_of::<IPv4Header>();
[INFO] [stdout] 10 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/akarin/server.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     crypto: &'a Crypto,
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     crypto: &'a dyn Crypto,
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/akarin/client.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     crypto: &'a Crypto,
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     crypto: &'a dyn Crypto,
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/akarin/server.rs:124:41
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fn new<'b>(tun: Device, crypto: &'a Crypto, udp: UdpSocket, configuration: &'b ServerConfiguration) -> Self {
[INFO] [stdout]     |                                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fn new<'b>(tun: Device, crypto: &'a dyn Crypto, udp: UdpSocket, configuration: &'b ServerConfiguration) -> Self {
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/akarin/client.rs:24:41
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn new<'d>(tun: Device, crypto: &'a Crypto, udp: UdpSocket, configuration: &'d ClientConfiguration) -> Self {
[INFO] [stdout]    |                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn new<'d>(tun: Device, crypto: &'a dyn Crypto, udp: UdpSocket, configuration: &'d ClientConfiguration) -> Self {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/crypto/mod.rs:21:46
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn init(self, password: &str) -> Box<Crypto> {
[INFO] [stdout]    |                                              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn init(self, password: &str) -> Box<dyn Crypto> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/crypto/chacha20_poly1305.rs:9:43
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn init_crypto(password: &str) -> Box<Crypto> {
[INFO] [stdout]   |                                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn init_crypto(password: &str) -> Box<dyn Crypto> {
[INFO] [stdout]   |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/common/error.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     errors {
[INFO] [stdout] 3  | |         // Tun
[INFO] [stdout] 4  | |         TunNameTooLong
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |     }
[INFO] [stdout] 27 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/common/error.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / error_chain! {
[INFO] [stdout] 2  | |     errors {
[INFO] [stdout] 3  | |         // Tun
[INFO] [stdout] 4  | |         TunNameTooLong
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |     }
[INFO] [stdout] 27 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/akarin/server.rs:157:27
[INFO] [stdout]     |
[INFO] [stdout] 157 |             if let Some(&(token, sockaddr)) = self.clients.get(client_id) {}
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sockaddr`
[INFO] [stdout]    --> src/akarin/server.rs:157:34
[INFO] [stdout]     |
[INFO] [stdout] 157 |             if let Some(&(token, sockaddr)) = self.clients.get(client_id) {}
[INFO] [stdout]     |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sockaddr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]    --> src/akarin/server.rs:163:40
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn serve(mut self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]     |                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `core`
[INFO] [stdout]   --> src/akarin/client.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn connect(self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> src/akarin/client.rs:39:38
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn connect(self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crypto`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let crypto = Ciphers::CHACHA20_POLY1305.init(password);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypto`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/akarin/server.rs:157:27
[INFO] [stdout]     |
[INFO] [stdout] 157 |             if let Some(&(token, sockaddr)) = self.clients.get(client_id) {}
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sockaddr`
[INFO] [stdout]    --> src/akarin/server.rs:157:34
[INFO] [stdout]     |
[INFO] [stdout] 157 |             if let Some(&(token, sockaddr)) = self.clients.get(client_id) {}
[INFO] [stdout]     |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sockaddr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]    --> src/akarin/server.rs:163:40
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn serve(mut self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]     |                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `core`
[INFO] [stdout]   --> src/akarin/client.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn connect(self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> src/akarin/client.rs:39:38
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn connect(self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]    |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `crypto`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let crypto = Ciphers::CHACHA20_POLY1305.init(password);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypto`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/akarin/server.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn serve(mut self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]     |              ----^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/akarin/client.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn connect(self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]    |                      ----^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/akarin/server.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn serve(mut self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]     |              ----^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/akarin/client.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn connect(self, mut core: Core, handle: Handle) -> Result<()> {
[INFO] [stdout]    |                      ----^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/akarin/server.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         core.run(self);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `akarin` due to 3 previous errors; 22 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/akarin/server.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         core.run(self);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `akarin` due to 3 previous errors; 22 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d387d43511b41b4467e9bf6dfc7aa9cde2ec1d17cc4846d951e8142c2f50b7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d387d43511b41b4467e9bf6dfc7aa9cde2ec1d17cc4846d951e8142c2f50b7da", kill_on_drop: false }`
[INFO] [stdout] d387d43511b41b4467e9bf6dfc7aa9cde2ec1d17cc4846d951e8142c2f50b7da
